package com.kidback.bbloc259.base.lang;

/**
 * Created by meikai on 2020/06/09.
 */
public interface Comparator2<T, M> {

    /**
     * 比较T和M的业务大小
     *
     * @return 0:相同； 正数:o1>o2;  负数:o1<o2
     */
    int compare(T o1, M o2);

}